<template>
 <div class = "app">
   <Editor :mainData="state"></Editor>
 </div>
</template>
<script>
import { ref,provide } from 'vue'; 
import data from './data.json';
import Editor from './packages/editor';
import { registerConfig as config } from './utils/editor-config';

export default{
 components:{
  Editor
 },
 setup(){
    const state = data;
    return{
      state
    }
 }
}
</script>

<style lang="scss">


</style>
